package com.woniuxy.classdeans;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/*  *
 * @Author weizihan
 * @Date 2020/7/16 2020/7/16
 * @Description This is description of class
 * @Since version-1.0
 */

@SpringBootApplication
@EnableFeignClients
@MapperScan("com.woniuxy.classdeans.mapper")
@ComponentScan({"com.woniuxy.classdeans","com.woniuxy.commons.config"})
public class ClassDeansApplication {
    public static void main(String[] args) {
        //解决redis与elasticsearch的冲突
        System.setProperty("es.set.netty.runtime.available.processors", "false");
        SpringApplication.run(ClassDeansApplication.class,args);
    }
}
